package lab02.test36;

public abstract class Student {
    //属性
    String name;
    String type;
    double[] scores=new double[3];
    String grade;

    //计算平均成绩
    double average(){
        return (scores[0]+scores[1]+scores[2])/3;
    }
    //计算等级
    abstract  String calGrade();

}
